:root{
  --w: 0%
}
.canvaspage{
  margin: 0 ;
  padding: 0;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}

.canvaspage .container{
  /* width: 600px; */
  /* height: 100px; */
  transform: translate(0,90px);
  display: flex;
  align-items: center;
  flex-wrap:wrap;
  justify-content: space-around;
}
.canvaspage .container .btn{
  transition: 0.5s;
  position: relative;
  width: 155px;
  height: 50px;
  cursor: pointer;
  z-index: 5;
  /* margin: 20px; */
}
.canvaspage .container .box{
  height: 100%;
  display: flex;
  align-items: center;
}
.canvaspage .container .btn a{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  color: #fff;
  z-index: 1;
  letter-spacing: 1px;
  text-decoration: none;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(15px);
}
.canvaspage .container .box:hover .btn{
  transform: translate(0,-5px);
}

.canvaspage .container .btn:hover a{
  letter-spacing: 3px;
}


.canvaspage .container .btn a:before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(255,255,255,0.15),transparent);
  transform: skewX(45deg) translateX(0);
  transition: 0.5s;
}


.canvaspage .container .btn:hover a:before{
  transform: skewX(45deg) translateX(200%);
}

.canvaspage .container .btn::before{
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0px;
  width: 30px;
  height: 10px;
  background: #f00;
  border-radius: 10px;
  transition: 0.5s;
  transition-delay: 0s;
}
.canvaspage .container .btn:hover::before{
  left: 50%;
  bottom: 0;
  height: 50%;
  width: 80%;
  border-radius: 30px;
  transition-delay: 0s;
}


.canvaspage .container .btn::after{
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0px;
  width: 30px;
  height: 10px;
  background: #f00;
  border-radius: 10px;
  transition: 0.5s;
  transition-delay: 0s;
}
.canvaspage .container .btn:hover::after{
  /* left: 50%; */
  top: 0;
  height: 50%;
  width: 80%;
  border-radius: 30px;
  transition-delay: 0s;
}

.canvaspage .container .box:nth-child(1) .btn:before,
.canvaspage .container .box:nth-child(1) .btn::after{
  background: #ff1f71;
  box-shadow: 0 0 5px #ff1f71,
  0 0 15px #ff1f71,
  0 0 30px #ff1f71,
  0 0 60px #ff1f71;
}

.canvaspage .container .box:nth-child(2) .btn:before,
.canvaspage .container .box:nth-child(2) .btn::after{
  background: #2bd2ff;
  box-shadow: 0 0 5px #2bd2ff,
  0 0 15px #2bd2ff,
  0 0 30px #2bd2ff,
  0 0 60px #2bd2ff;
}
.canvaspage .container .box:nth-child(3) .btn:before,
.canvaspage .container .box:nth-child(3) .btn::after{
  background: #1eff45;
  box-shadow: 0 0 5px #1eff45,
  0 0 15px #1eff45,
  0 0 30px #1eff45,
  0 0 60px #1eff45;
}
.canvaspage footer{
  position: fixed;
  bottom: 0px;
  padding: 5px 0 5px;
  width: 100%;
  text-align: center;
  box-shadow: 0 -1px 3px rgb(61, 61, 61);
  backdrop-filter: blur(15px);
}
.canvaspage footer::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.canvaspage .beian{
  color: #fff;
  text-decoration:none;
  font-size: 12px;
  text-shadow: 3px 3px 3px black;
}
.canvaspage #canvas{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  /* z-index: 1; */
}
.canvaspage .head{
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.canvaspage .progress{
  position: absolute;
  width: 100%;
  height: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.canvaspage .total{
  width: 100%;
  height: 1px;
  background-color: rgb(249, 247, 247);
  position: relative;
}
.canvaspage .total::after{
  content: attr(data-value);
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translate(-50%,0);
  color: aliceblue;
  text-rendering: geometricPrecision;
}
.canvaspage .current{
  width: 80%;
  height: 100%;
  background-color: green;
  box-shadow: 0px 0px 2px #fff,0px 0px 10px #fff;
  position: relative;
  backdrop-filter: blur(15px);
  transition: .2s linear;
}
.canvaspage .current .point{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%,-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0 6px #fff;
  backdrop-filter: blur(15px);
  animation: blink 1s ease-in-out infinite alternate-reverse;
}

.canvaspage .volume{
  position: absolute;
  top:calc(50% + 14rem);
  left:50%;
  transform: translate(-50%,-50%);
}

@keyframes blink {
  from{
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.968);
  }
  to{
    box-shadow: 0 0 1px rgba(229, 229, 229, 0.694);
    background-color: rgba(255, 255, 255, 0.845);
  }
}
